package com.jd.platform.gobrs.client.core.key;

import com.jd.platform.gobrs.common.model.GCacheKeyModel;
import com.jd.platform.gobrs.common.model.KeyCountModel;

/**
 * @author sizegang wrote on 2020-01-06
 * @version 1.0
 */
public class KeyHandlerFactory {
    private static final DefaultKeyHandler iKeyHandler = new DefaultKeyHandler();


    private KeyHandlerFactory() {
    }

    public static IKeyPusher getPusher() {
        return iKeyHandler.keyPusher();
    }

    public static IKeyCollector<GCacheKeyModel, GCacheKeyModel> getCollector() {
        return iKeyHandler.keyCollector();
    }

    public static IKeyCollector<KeyHotModel, KeyCountModel> getCounter() {
        return iKeyHandler.keyCounter();
    }



//    public static IKeyPusher getAutoPusher() {
//        return iKeyHandler.keyAutoPusher();
//    }


}
